using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using System.IO;

namespace CreamX.Framework.Game
{
    /// <summary>
    /// Base Material object for holding texture information
    /// </summary>
    public class CreamXMaterialBase:CreamXBase
    {
        private string _materialfilename;
        private Texture2D _texture;

        public string MaterialFilename
        {
            get { return _materialfilename; }
            set { _materialfilename = value; }
        }

        public Texture2D Texture
        {
            get { return _texture; }
            set { _texture = value; }
        }
        
        public void Init()
        {
            // Dummy code just stripping off the extension. may need more work
            string __name = MaterialFilename.Substring(0,MaterialFilename.Length-4);
        }
        public override string ToString()
        {
            return Name;
        }
    }
}
